package com.medusa.aps.business.modules.modeling.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.medusa.aps.business.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 工序设备
 *
 * @author miskw
 * @date 2023/9/2
 */
@Data
@Accessors(chain = true)
@Schema(description = "工序设备")
@EqualsAndHashCode(callSuper = true)
public class WorkingProcedureEquipment extends BaseEntity<WorkingProcedureEquipment> {
    /**
     * id
     */
    @Schema(description = "id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 工序id
     */
    @Schema(description = "工序id")
    private Integer workingProcedureId;
    /**
     * 设备id
     */
    @Schema(description = "设备id")
    private Long equipmentId;
    /**
     * 设备编码
     */
    @Schema(description = "设备编码")
    private String equipmentNumber;
    /**
     * 设备名称
     */
    @Schema(description = "设备名称")
    private String deviceName;
}
